home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / ole2book.zip / BASICS.ZIP / INC / STASTRIP.H < prev    next >
C/C++ Source or Header  |  1993-03-19  |  1KB  |  65 lines

  1. /*
  2.  * STASTRIP.H
  3.  * StatStrip Version 1.00, March 1993
  4.  *
  5.  * Public class and definitions for the StatStrip control.
  6.  *
  7.  * Copyright (c)1993 Microsoft Corporation, All Rights Reserved
  8.  *
  9.  * Kraig Brockschmidt, Software Design Engineer
  10.  * Microsoft Systems Developer Relations
  11.  *
  12.  * Internet  :  kraigb@microsoft.com
  13.  * Compuserve:  >INTERNET:kraigb@microsoft.com
  14.  */
  15.  
  16.  
  17.  
  18. #ifndef _STASTRIP_H_
  19. #define _STASTRIP_H_
  20.  
  21.  
  22. #ifdef __cplusplus
  23. extern "C"
  24.     {
  25. #endif //__cplusplus
  26.  
  27.  
  28. #define CYSTATSTRIP     23
  29. #define CLASS_STATSTRIP "StatStrip"
  30.  
  31.  
  32. //External APIs.
  33. BOOL WINAPI StatStripMessageMap(HWND, HWND, HINSTANCE, UINT, UINT, UINT, UINT, UINT, UINT, UINT, UINT, UINT);
  34. void WINAPI StatStripMenuSelect(HWND, WPARAM, LPARAM);
  35. void WINAPI StatStripMessageDisplay(HWND, UINT);
  36.  
  37. //Message equivalents
  38. #define STATM_MESSAGEMAP        (WM_USER+0)
  39. #define STATM_MENUSELECT        (WM_USER+1)
  40. #define STATM_MESSAGEDISPLAY    (WM_USER+2)
  41.  
  42.  
  43. //Structure for STATM_MESSAGEMAP
  44. typedef struct tagSTATMESSAGEMAPINIT
  45.     {
  46.     HWND        hWndOwner;
  47.     HINSTANCE   hInst;
  48.     UINT        uIDRMap;
  49.     UINT        idsMin;
  50.     UINT        idsMax;
  51.     UINT        cchMax;
  52.     UINT        uIDPopupMin;
  53.     UINT        uIDPopupMax;
  54.     UINT        uIDStatic;
  55.     UINT        uIDBlank;
  56.     UINT        uIDSysMenu;
  57.     } STATMESSAGEMAPINIT, FAR *LPSTATMESSAGEMAPINIT;
  58.  
  59.  
  60. #ifdef __cplusplus
  61.     }
  62. #endif //__cplusplus
  63.  
  64. #endif //_STASTRIP_H_
  65.